package ar.edu.unrn.lia.service;

import java.util.List;
import java.util.Map;

import javax.persistence.criteria.Predicate;

import ar.edu.unrn.lia.model.Inquilino;

public interface InquilinoService {

	public void save(Inquilino entity);

	public void update(Inquilino entity);

	public void delete(Inquilino entity);

	public Inquilino getEntityById(Long id);

	public List<Inquilino> getAll();

	public Long getCount(Map<String, String> filters);

	public List<Inquilino> getList(Integer page, Integer pagesize,
			Map<String, String> filters, String sortField, Boolean asc);
	
	public List<Inquilino> findByQuery(String query, String propertyFilter,	String orderDirection);
	
	public List<Inquilino> getList(Integer page, Integer pagesize,
			Map<String, String> filters, Map<String, Boolean> sorts);
}